package sfeir.ergosum.model;

import java.io.Serializable;

public class LetterIndex implements Serializable {
    private static final long serialVersionUID = 8129942447800705008L;

    private long id=-1;
    private long id2=-1;

    private String letter;
    private int occu;
    private int type;

    public static final int TYPE_ROOT = 1;
    public static final int TYPE_PHONE = 2;
    public static final int TYPE_MAIL = 3;
    public static final int TYPE_SMS = 4;

    public LetterIndex(String letter, int occu) {
        this.letter = letter;
        this.occu = occu;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLetter() {
        return letter;
    }

    public void setLetter(String letter) {
        this.letter = letter;
    }

    public int getOccu() {
        return occu;
    }

    public void setOccu(int occu) {
        this.occu = occu;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getId2() {
        return id2;
    }

    public void setId2(long id2) {
        this.id2 = id2;
    }

}
